//
//  WKFaceBaseViewController.h
//  WKMaybell
//
//  Created by 何文虎 on 2018/12/18.
//  Copyright © 2018 何文虎. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CircleView.h"

NS_ASSUME_NONNULL_BEGIN

typedef enum : NSUInteger {
    CommonStatus,
    PoseStatus,
    occlusionStatus
} WarningStatus;


@interface WKFaceBaseViewController : UIViewController
@property (nonatomic, readwrite, retain) UIImageView *displayImageView;
@property (nonatomic, readwrite, assign) BOOL hasFinished;
@property (nonatomic, readwrite, retain) UIImage* coverImage;
@property (nonatomic, readwrite, assign) CGRect previewRect;
@property (nonatomic, readwrite, assign) CGRect detectRect;
@property (nonatomic, readwrite, retain) CircleView * circleView;

- (void)faceProcesss:(UIImage *)image;

- (void)closeAction;
- (void)shootFinshedAction;

- (void)onAppWillResignAction;
- (void)onAppBecomeActive;

- (void)warningStatus:(WarningStatus)status warning:(NSString *)warning;
- (void)singleActionSuccess:(BOOL)success;

@end

NS_ASSUME_NONNULL_END
